mudbox::uInt8Channel Class Reference
#include <image.h>
List of all
members.
Detailed Description
The data type for a 8 bit image channel.
0-255 maps to 0.0 to 1.0 in floating point or 0-65535 in 16 bit
fixed point.
Constructor & Destructor Documentation
mudbox::uInt8Channel::uInt8Channel |
( |
const float32Channel
& |
d |
) |
[inline] |
|
|
00301 { m_data = uInt8(d); }
|
mudbox::uInt8Channel::uInt8Channel |
( |
const float16Channel
& |
d |
) |
[inline] |
|
|
00302 { m_data = uInt8(d); }
|
mudbox::uInt8Channel::uInt8Channel |
( |
const uInt16Channel
& |
d |
) |
[inline] |
|
|
00303 { m_data = uInt8(d); }
|
mudbox::uInt8Channel::uInt8Channel |
( |
const uInt8Channel
& |
d |
) |
[inline] |
|
|
00108 { m_data = uInt8(d); }
|
mudbox::uInt8Channel::uInt8Channel |
( |
uInt8 |
d |
) |
[inline] |
|
mudbox::uInt8Channel::uInt8Channel |
( |
|
) |
[inline] |
|
Member Function Documentation
|
00307 {
00308 m_data = uInt8(d);
00309 return *this;
00310 }
|
|
00314 {
00315 m_data = uInt8(d);
00316 return *this;
00317 }
|
|
00321 {
00322 m_data = uInt8(d);
00323 return *this;
00324 }
|
|
00117 {
00118 m_data = uInt8(d);
00119 return *this;
00120 }
|
|
00123 {
00124 m_data = uInt8(d);
00125 return *this;
00126 }
|
mudbox::uInt8Channel::operator float |
( |
|
) |
const [inline] |
|
|
00128 { return m_data * (1.0f/255.0f); }
|
mudbox::uInt8Channel::operator half_ |
( |
|
) |
const [inline] |
|
|
00129 { return half_(m_data * (1.0f/255.0f)); }
|
mudbox::uInt8Channel::operator uInt16 |
( |
|
) |
const [inline] |
|
|
00130 { return (m_data << 8) + m_data; }
|
mudbox::uInt8Channel::operator uInt8 |
( |
|
) |
const [inline] |
|
mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel
mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel mudbox::uInt8Channel
mudbox::uInt8Channel